<?php

namespace app\api\controller;


use app\common\model\Member;
use think\Controller;
use think\Request;

class User extends Controller
{


    public function register()
    {

    }

    public function login($username,$password)
    {
        $Member = new Member();
        $User = $Member->login($username,$password);
        return $User;
    }

    public function test($a, $b)
    {
        $c=1;
        return $a+$b;
    }

    public function test2()
    {
        echo '这是test2的方法';
    }
}